package com.org.model;

import java.sql.Timestamp;

/**
 * Refunds entity. @author MyEclipse Persistence Tools
 */

public class Refunds implements java.io.Serializable {

	// Fields

	private Long id;
	private Order order;
	private Timestamp createDate;
	private Timestamp modifyDate;
	private String account;
	private Double amount;
	private String bank;
	private String memo;
	private String operator;
	private String payee;
	private String paymentMethod;
	private String sn;
	private Integer type;

	// Constructors

	/** default constructor */
	public Refunds() {
	}

	/** minimal constructor */
	public Refunds(Order order, Timestamp createDate, Timestamp modifyDate,
			Double amount, String operator, String sn, Integer type) {
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.amount = amount;
		this.operator = operator;
		this.sn = sn;
		this.type = type;
	}

	/** full constructor */
	public Refunds(Order order, Timestamp createDate, Timestamp modifyDate,
			String account, Double amount, String bank, String memo,
			String operator, String payee, String paymentMethod, String sn,
			Integer type) {
		this.order = order;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.account = account;
		this.amount = amount;
		this.bank = bank;
		this.memo = memo;
		this.operator = operator;
		this.payee = payee;
		this.paymentMethod = paymentMethod;
		this.sn = sn;
		this.type = type;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Timestamp modifyDate) {
		this.modifyDate = modifyDate;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getBank() {
		return this.bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getOperator() {
		return this.operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getPayee() {
		return this.payee;
	}

	public void setPayee(String payee) {
		this.payee = payee;
	}

	public String getPaymentMethod() {
		return this.paymentMethod;
	}

	public void setPaymentMethod(String paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}